<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset="utf-8">
<title>抖音管理 </title>
<@fm.header />
<script type="text/javascript" src="/resources/js/common.js"></script>
<script type="text/javascript" src="/resources/js/douying/addConfig.js"></script>
</head>
<body class="cmp-list-body">

<div id="tb" style="padding:3px">
	<span>名称</span>
	<input id="sname" class="easyui-textbox" style="width: 155px;"/>
	<span>包名</span>
	<input id="spackage" class="easyui-textbox" style="width: 155px;"/>
    <a href="#" class="easyui-linkbutton" iconCls="icon-search" plain="true" onclick="doSearch();">查询</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="doAdd();">新增</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-edit" plain="true" onclick="doEdit();">修改</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-remove" plain="true" onclick="doDel();">删除</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-remove" plain="true" onclick="doStart();">启动</a>
</div>
<table id="tt" title="抖音增量配置" toolbar="#tb" rownumbers="true" idField="id" 
	singleSelect="false" pagination="true" fitColumns="true" pageSize="15" pageList="[15,30,60,80,100]">  
    <thead>
        <tr>
            <th align="center" width="10%" field="id" checkbox="true"></th>
		    <th align="center" width="10%" field="channel">渠道号</th>
		    <th align="center" width="10%" field="name">名称</th>
		    <th align="center" width="10%" field="packageName">包名</th>
		    <th align="center" width="10%" field="appKey">appkey</th>
		    <th align="center" width="5%" field="appVersion">app版本</th>
		    <th align="center" width="5%" field="versionCode">版本号</th>
		    <th align="center" width="5%" field="updateVersionCode">抖音版本号</th>
		    <th align="center" width="5%" field="totalNum">新增任务量</th>
		    <th align="center" width="5%" field="status" formatter="formatStatus">状态</th>
		    <th align="center" width="10%" field="createDate">创建时间</th>
		    <th align="center" width="10%" field="modifyDate">修改时间</th>
        </tr>
    </thead>   
</table>
<div id="addWin" class="easyui-window" title="抖音配置新增" closed="true" collapsible="false" minimizable="false"  maximizable="false" style="width:500px;height:450px"   
        data-options="iconCls:'icon-save',modal:true">
     <div fit="true">
        <form id="addForm" method="post" enctype="multipart/form-data">
            <input type="hidden" id="idId"  name="id" />   
            <table>
                <tr>
                     <td align="left">渠道号</td>
                     <td><input id="channel" class="easyui-validatebox" data-options="required:true" name="channel" style="width:400px"></input></td>
                </tr>
                <tr>
                    <td align="left">名称</td>
                     <td><input id="name" class="easyui-validatebox" data-options="required:true" name="name" style="width:400px"></input></td>
                </tr>
                <tr>
                    <td align="left">包名</td>
                     <td><input id="packageName" class="easyui-validatebox" data-options="required:true" name="packageName" style="width:400px"></input></td>
                </tr>
                 <tr>
                    <td align="left">appKey</td>
                     <td><input id="appKey" class="easyui-validatebox" data-options="required:true" name="appKey" style="width:400px"></input></td>
                </tr>
                <tr>
                    <td align="left">app版本</td>
                     <td><input id="appVersion" class="easyui-validatebox" data-options="required:true" name="appVersion" style="width:400px"></input></td>
                </tr>
                <tr>
                    <td align="left">app版本号</td>
                     <td><input id="versionCode" class="easyui-validatebox" data-options="required:true" name="versionCode" style="width:400px" onkeyup="value=value.replace(/[^\d]/g,'')" placeholder="请输入整数"></input></td>
                </tr>
                <tr>
                    <td align="left">抖音app版本号</td>
                     <td><input id="updateVersionCode" class="easyui-validatebox" data-options="required:true" name="updateVersionCode" style="width:400px" onkeyup="value=value.replace(/[^\d]/g,'')" placeholder="请输入整数"></input></td>
                </tr>
                <tr>
                    <td align="left">新增任务量</td>
                     <td><input id="totalNum" class="easyui-validatebox" data-options="required:true" name="totalNum" style="width:400px" onkeyup="value=value.replace(/[^\d]/g,'')" placeholder="请输入整数"></input></td>
                </tr>
                <tr>
                    <td align="left">签名</td>
                     <td><input id="sigHash" class="easyui-validatebox"  name="sigHash" style="width:400px"></input></td>
                </tr>
                <tr>
                    <td align="left">release_build</td>
                    <td><input id="releaseBuild" class="easyui-validatebox"  name="releaseBuild" style="width:400px"></input></td>
                </tr>
                <tr>
                     <td align="left">状态</td>
                     <td>
                     <select class="easyui-combobox" id="status" name="status" panelHeight="auto" style="width:155px">
                        <option value="0" >待启动</option>
                        <option value="1" selected>启动</option>
                     </select>
                     </td>
                </tr>   
           </table>
        </form>
        <div style="padding: 25px; text-align: center;">
            <a href="#" class="easyui-linkbutton" onclick="cancel();">取消</a>
            <a href="#" class="easyui-linkbutton"  onclick="save();">保存</a> 
        </div>
    </div>
</div>
</body>
</html>